package xin.clips.system.domain.gy;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import xin.clips.common.annotation.Excel;
import xin.clips.common.core.domain.BaseEntity;

/**
 * 知识管理对象 gy_know_base_mgt
 *
 * @author yuanzy
 * @date 2023-03-02
 */
public class GyKnowBaseMgt extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long id;

    /**
     * 关联知识库类型
     */
    @Excel(name = "关联知识库类型")
    private Long knowType;

    /**
     * 知识库名称
     */
    @Excel(name = "知识名称")
    private String knowName;

    /**
     * 知识库编号
     */
    @Excel(name = "知识编号")
    private String knowCode;

    /**
     * 关键字
     */
    @Excel(name = "关键字")
    private String memo;

    /**
     * 文件路径
     */
    @Excel(name = "文件路径")
    private String filePath;

    /**
     * 文件名字
     */
    @Excel(name = "文件名字")
    private String fileName;

    /**
     * 关键字
     */
    @Excel(name = "关键字")
    private Long keyWord;

    /**
     * 审核状态：0：待审核，1：审核通过
     */
    @Excel(name = "审核状态：0：待审核，1：审核通过")
    private Long status;

    /**
     * 设备类型","号分割
     */
    @Excel(name = "设备类型,号分割")
    private String deviceType;


    private GyKnowBaseType knowBaseType;

    public GyKnowBaseType getKnowBaseType() {
        return knowBaseType;
    }

    public void setKnowBaseType(GyKnowBaseType knowBaseType) {
        this.knowBaseType = knowBaseType;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setKnowType(Long knowType) {
        this.knowType = knowType;
    }

    public Long getKnowType() {
        return knowType;
    }

    public void setKnowName(String knowName) {
        this.knowName = knowName;
    }

    public String getKnowName() {
        return knowName;
    }

    public void setKnowCode(String knowCode) {
        this.knowCode = knowCode;
    }

    public String getKnowCode() {
        return knowCode;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public String getMemo() {
        return memo;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getFileName() {
        return fileName;
    }

    public void setKeyWord(Long keyWord) {
        this.keyWord = keyWord;
    }

    public Long getKeyWord() {
        return keyWord;
    }

    public void setStatus(Long status) {
        this.status = status;
    }

    public Long getStatus() {
        return status;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType;
    }

    public String getDeviceType() {
        return deviceType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("knowType", getKnowType())
                .append("knowName", getKnowName())
                .append("knowCode", getKnowCode())
                .append("memo", getMemo())
                .append("filePath", getFilePath())
                .append("fileName", getFileName())
                .append("keyWord", getKeyWord())
                .append("status", getStatus())
                .append("deviceType", getDeviceType())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .toString();
    }
}
